//tile.cpp

#include "tile.h"

tile::tile()
{
  loc.x=0;
  loc.y=0;
  tileColour = wxWHITE;
  tileType = 0;
};

pair tile::getLoc()
{
  return loc;
}

void tile::setLoc(pair p)
{
  loc.x = p.x;
  loc.y = p.y;
}

Void tile::setY(int n)
{
  loc.y = n;
}

void tile::setX(int n)
{
  loc.x = n;
}

wxColour tile:: getColour()
{
  return tileColour;
}

void tile:: setColour(wxColour colour)
{
  tileColour = colour;
}

int tile:: getType()
{
  return tileType;
}

void tile:: setType(int n)
{
  tileType = n;
}
